package com.hanthink.system.mapper.repair;

import com.hanthink.system.domain.repair.RepairPlan;
import com.hanthink.system.domain.repair.RepairTask;

import java.util.List;
import java.util.Map;

/**
* <p>Title: EquipRepairMapper</p>  
* <p>Description: 设备维修-持久层</p>  
* @author vondser
* @date 2020年12月21日
 */
public interface RepairTaskMapper {
	RepairTask selectRepairTaskById(Long id);
	List<RepairTask> selectRepairTaskList(RepairTask repairPlan);
	List<RepairTask> getList(RepairTask repairPlan);

	int insertRepairTask(RepairTask repairPlan);

	int updateRepairTask(RepairTask repairPlan);

	int deleteRepairTaskById(Long id);

	int deleteRepairTaskByIds(Long[] ids);

	void insertInfo(Map<String, Object> params);

	List<RepairTask>  selectList(Map<String, Object> params);

	void insertNewTask(Map<String, Object> params);

	void updateRepairTaskFile(Map<String, Object> params);

}
